package com.game.framework.dao.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document("ActivityTicketEntity")
@TableName( value ="tf_activity_ticket" )
public class ActivityTicketEntity extends BaseEntity<Long> {

    @TableField(value = "activity_id")
    private long activityId;

    @TableField(value = "ticket_type")
    private int ticketType;

    @TableField(value = "number")
    private int number = 0;

    @TableField(value = "count")
    private int count = 0;
}

